/*
 * Jeff Thomas 
 * Thomas007
 * 09.06.2007
 */

import java.util.*;
public class Fourier
{
   public static void main(String[] args) {
       double answer = 0;
       double result = 0;
       for (double x = 0.0; x <= 2.0 * Math.PI; x = x + Math.PI / 10.0) {
           for (double i = 1; i <= 40; i = i + 2) {
               answer += (1 / i) * Math.sin(i * x);
            }
            result = (4 / Math.PI) * answer;
            answer = 0;
            System.out.println(result);
        }
    }
}
